
import { createApp} from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import MenuList from './components/MenuList.vue'

import './assets/element.scss'
import BaiduMap from 'vue-baidu-map-3x'

const app = createApp(App)
app.use(BaiduMap, {
  ak:"Nj2UrnWPzNF4a3ZGIXhlWRz2AcGrDWE8"
})

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(createPinia())
app.component("MenuList",MenuList)
app.use(router)
app.use(ElementPlus)
app.mount('#app')


